package com.hwl.eduservice.feign;

import com.hwl.commonutils.result.RespBean;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class VodMediaServiceFallBack implements VodMediaService {
    @Override
    public RespBean removeVideo(String videoId) {
        log.warn("熔断保护触发，删除视频失败！");
        return RespBean.error().message("调用超时");
    }

    @Override
    public RespBean deleteBatchVideo(List<String> videoIdList) {
        log.warn("熔断保护触发，批量删除视频失败！");
        return RespBean.error().message("调用超时");
    }
}
